package cn.com.yiqi.wsc.service.weixin;

import cn.com.yiqi.wsc.common.Result;
import cn.com.yiqi.wsc.ro.WeixinInfoRO;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * Created by 林威 on 2017/2/13.
 */
public interface WeixinPayService {
    Map<String, Object> access_token(String code);

    Map<String, Object> refresh_token(String refresh_token);

    WeixinInfoRO getwxUserInfo(String access_token, String openid);

    String notifyHook(HttpServletRequest request) throws Exception;

    void sendBirthdayMention(Integer beforeDays);
}
